home *** CD-ROM | disk | FTP | other *** search
/ Sunday Savers: Singing Fun! / Sunday Savers: Singing Fun!.iso / mac / Xtras / Buddy API 3.7 / Buddy API Docs.swf / texts / 1676.txt < prev    next >
Encoding:
Text File  |  2004-08-31  |  3.1 KB  |  133 lines

  1. 172
  2. --- RECORDSEPARATOR ---
  3.  
  4. --- RECORDSEPARATOR ---
  5. SetWindowState 
  6. --- RECORDSEPARATOR ---
  7. Platform:
  8. --- RECORDSEPARATOR ---
  9.  
  10. --- RECORDSEPARATOR ---
  11. Windows
  12. --- RECORDSEPARATOR ---
  13.  
  14. --- RECORDSEPARATOR ---
  15. Description:
  16. --- RECORDSEPARATOR ---
  17.  
  18. --- RECORDSEPARATOR ---
  19. baSetWindowState allows you to manipulate the specified window.
  20. --- RECORDSEPARATOR ---
  21.  
  22. --- RECORDSEPARATOR ---
  23. Usage:
  24. --- RECORDSEPARATOR ---
  25.  
  26. --- RECORDSEPARATOR ---
  27. baSetWindowState( WinHandle, State )
  28. --- RECORDSEPARATOR ---
  29.  
  30. --- RECORDSEPARATOR ---
  31. Arguments:
  32. --- RECORDSEPARATOR ---
  33.  
  34. --- RECORDSEPARATOR ---
  35. Integer, String. 
  36. --- RECORDSEPARATOR ---
  37. WinHandle is the handle of the window to change. To change the Director or 
  38. --- RECORDSEPARATOR ---
  39. Authorware window, use the baWinHandle() function. 
  40. --- RECORDSEPARATOR ---
  41. State is the window's new state. Can be one of the following: 
  42. --- RECORDSEPARATOR ---
  43. "Hidden" 
  44. --- RECORDSEPARATOR ---
  45. Hides the window and passes activation to another window. 
  46. --- RECORDSEPARATOR ---
  47. "Restored" 
  48. --- RECORDSEPARATOR ---
  49. Activates and displays a window. If the window i
  50. --- RECORDSEPARATOR ---
  51. s minimized or 
  52. --- RECORDSEPARATOR ---
  53. maximized, it is restored to its original size and position. 
  54. --- RECORDSEPARATOR ---
  55. "Normal" 
  56. --- RECORDSEPARATOR ---
  57. Activates a window and displays it in its current size and position. 
  58. --- RECORDSEPARATOR ---
  59. "Maximised" 
  60. --- RECORDSEPARATOR ---
  61. Activates a window and displays it as a maximized window. 
  62. --- RECORDSEPARATOR ---
  63. "Minimised" 
  64. --- RECORDSEPARATOR ---
  65. Activates a window and displays it as an icon. 
  66. --- RECORDSEPARATOR ---
  67. "MinNotActive" 
  68. --- RECORDSEPARATOR ---
  69. Displays a window as an icon. The window that is currently active 
  70. --- RECORDSEPARATOR ---
  71. remains active. 
  72. --- RECORDSEPARATOR ---
  73. "NotActive" 
  74. --- RECORDSEPARATOR ---
  75. Displays a window in its current state. The window that is currently 
  76. --- RECORDSEPARATOR ---
  77. active remains active. 
  78. --- RECORDSEPARATOR ---
  79. "ShowNotActive" 
  80. --- RECORDSEPARATOR ---
  81. Displays a window in its most recent size and position. The window that 
  82. --- RECORDSEPARATOR ---
  83. is currently active remains active. 
  84. --- RECORDSEPARATOR ---
  85. "StayOnTop" 
  86. --- RECORDSEPARATOR ---
  87. Makes the window stay on top of all other windows. 
  88. --- RECORDSEPARATOR ---
  89. "DontStayOnTop" 
  90. --- RECORDSEPARATOR ---
  91. Allows the window to go behind other windows.
  92. --- RECORDSEPARATOR ---
  93.  
  94. --- RECORDSEPARATOR ---
  95. Returns:
  96. --- RECORDSEPARATOR ---
  97.  
  98. --- RECORDSEPARATOR ---
  99. Void.
  100. --- RECORDSEPARATOR ---
  101.  
  102. --- RECORDSEPARATOR ---
  103. Examples:
  104. --- RECORDSEPARATOR ---
  105.  
  106. --- RECORDSEPARATOR ---
  107. Director: 
  108. --- RECORDSEPARATOR ---
  109. baSetWindowState( baWinHandle(), "StayOnTop" ) 
  110. --- RECORDSEPARATOR ---
  111. Authorware: 
  112. --- RECORDSEPARATOR ---
  113. baSetWindowState( baWinHandle(), "StayOnTop" )
  114. --- RECORDSEPARATOR ---
  115.  
  116. --- RECORDSEPARATOR ---
  117. Notes:
  118. --- RECORDSEPARATOR ---
  119.  
  120. --- RECORDSEPARATOR ---
  121. If the WinHandle is 0, or is not the valid handle of a window, then the function will 
  122. --- RECORDSEPARATOR ---
  123. act on the active window.
  124. --- RECORDSEPARATOR ---
  125.  
  126. --- RECORDSEPARATOR ---
  127. See also:
  128. --- RECORDSEPARATOR ---
  129.  
  130. --- RECORDSEPARATOR ---
  131. baWindowInfo 
  132. --- RECORDSEPARATOR ---
  133. baActivateWindow